package com.spring.gll.service.impl;

import com.spring.gll.dao.impl.TestDaoImpl;
import com.spring.gll.service.TestService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service("testService")
public class TestServiceImpl implements TestService {
    @Resource()
    public TestDaoImpl testDao;

    public TestDaoImpl getTestDao() {
        return testDao;
    }

    public void setTestDao(TestDaoImpl testDao) {
        this.testDao = testDao;
    }

    public void a() {
        testDao.a();
        System.out.println("TestService a");
    }
}
